/*
************************************************************************************
  * @author  ZLP
  * @version 1.0
  * @date    2024.1.14
************************************************************************************
*/


#include "resource.h"

Resource Typedef_info = {0};


static Gpio_Info Gpio_info[NUM_ONE] = {
	 {
		GPIOB,
	    GPIO_Pin_5 
	 }

};
static TIMER Timer_info[NUM_ONE] = {
	{
	    TIM3,
		9999,
		7199
	}
};

void copy(void){

	memcpy(&Typedef_info.gpio_info,&Gpio_info[NUM_ONE-1],sizeof(Gpio_Info));
	memcpy(&Typedef_info.timer_info,&Timer_info[NUM_ONE-1],sizeof(TIMER));
	
}


